import java.util.Arrays;

public class HelloWorld {
    public static void main(String[] args) {

       int[] a = {5,7,12,9,32};
       sortArr(a);
    }

    public static void sortArr(int[] a){
        Arrays.sort(a);
        for(int i = 0;i < a.length;i++){
            System.out.println(a[i]);
        }
    }


    /********** End **********/
}